//
//  UserModel.m
//  test
//
//  Created by 朱圳 on 2018/1/11.
//  Copyright © 2018年 朱圳. All rights reserved.
//

#import "GRUserModel.h"

@implementation GRUserModel

+(NSDictionary<NSString *,id> *)modelCustomPropertyMapper{
    //服务器字段key转成自己的命名key
    return @{
             @"gid":@"id"
            };
}

//归档
- (void)encodeWithCoder:(NSCoder *)aCoder {
    [self yy_modelEncodeWithCoder:aCoder];
    
}
- (id)initWithCoder:(NSCoder *)aDecoder {
    self = [super init];
    return [self yy_modelInitWithCoder:aDecoder];
    
}
- (id)copyWithZone:(NSZone *)zone {
    return [self yy_modelCopy];
    
}
- (NSUInteger)hash {
    return [self yy_modelHash];
}
- (BOOL)isEqual:(id)object {
    return [self yy_modelIsEqual:object];
    
}
- (NSString *)description {
    return [self yy_modelDescription];
    
}
@end

